package com.t2c.tibetantochinese.translate;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.t2c.tibetantochinese.R;
import com.t2c.tibetantochinese.base.BaseFragment;
import com.t2c.tibetantochinese.views.TitleBar;

/**
 * Created by zoulu on 16/6/18.
 * 汉藏互译
 */
public class TranslateFragment extends BaseFragment{

    @Override
    protected int getContentViewResId() {
        return R.layout.tanslate_layout;
    }

    @Override
    public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);
        init(view);
    }

    private void init(View view){
        TitleBar titleBar = (TitleBar) view.findViewById(R.id.titlebar);
        titleBar.setTitle("汉语");
        titleBar.setLeftVisiable(View.GONE);
    }
}
